extern crate winres;

use winres::VersionInfo;

fn main() {
    if cfg!(target_os = "windows") {
        let mut res = winres::WindowsResource::new();
        res.set_icon("../rust/src/stock_market.ico");
        res.set_version_info(VersionInfo::PRODUCTVERSION, 3);
        res.compile().unwrap();
    }
}
